<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>CqCore: C:/Users/Monster/Documents/GitHub/qtassistant/cqcore/cqportal.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CqCore
   &#160;<span id="projectnumber">0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">C:/Users/Monster/Documents/GitHub/qtassistant/cqcore/cqportal.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef CQPORTAL_H</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define CQPORTAL_H</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;cqglobalevents.h&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;cqpersoninfo.h&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;cqmemberinfo.h&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="keyword">class </span>CqPortalPrivate;</div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="class_cq_portal.html">    9</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_cq_portal.html">CqPortal</a> : <span class="keyword">public</span> QObject</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;{</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;    Q_OBJECT</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;    Q_DECLARE_PRIVATE(<a class="code" href="class_cq_portal.html">CqPortal</a>)</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;    <a class="code" href="class_cq_portal.html#ad9471ef2d28f8b9f2535b8876b767c99">CqPortal</a>(CqPortalPrivate &amp;dd, QObject *parent = Q_NULLPTR);</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    QScopedPointer&lt;CqPortalPrivate&gt; d_ptr;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="class_cq_portal.html#a010488d0d8a46af43cd98150df5764da">~CqPortal</a>();</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    <span class="keyword">static</span> QByteArray <a class="code" href="class_cq_portal.html#a9a4b3fc66c1068413a0110ce45a4e3d8">convert</a>(<span class="keyword">const</span> QString &amp;str);</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <span class="keyword">static</span> QString <a class="code" href="class_cq_portal.html#a9a4b3fc66c1068413a0110ce45a4e3d8">convert</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *gbkStr);</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <span class="keyword">static</span> QString <a class="code" href="class_cq_portal.html#a9a4b3fc66c1068413a0110ce45a4e3d8">convert</a>(<span class="keyword">const</span> QByteArray &amp;str);</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <span class="keyword">static</span> QString <a class="code" href="class_cq_portal.html#a4f07d569e9f19663083cac15fef12247">cqAt</a>(qint64 uid);</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    <span class="keyword">static</span> QString <a class="code" href="class_cq_portal.html#a13dbcae38c238ba5ddf441b5fa01248b">cqImage</a>(<span class="keyword">const</span> QString &amp;name);</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    qint64 <a class="code" href="class_cq_portal.html#aad4a97e3bd1b3c0b336b02615bfe16d0">currentId</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    QString <a class="code" href="class_cq_portal.html#a3889da86ea9b0d629ac12ba942de8d17">basePath</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    QString <a class="code" href="class_cq_portal.html#af511438e74f95a97011f3bb3c91fbaa3">appFilePath</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *srcName) <span class="keyword">const</span>;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    QString <a class="code" href="class_cq_portal.html#af511438e74f95a97011f3bb3c91fbaa3">appFilePath</a>(<span class="keyword">const</span> QString &amp;name) <span class="keyword">const</span>;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    QString <a class="code" href="class_cq_portal.html#a3b6f387f075879f3fedab73834ccb063">usrFilePath</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *srcName) <span class="keyword">const</span>;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    QString <a class="code" href="class_cq_portal.html#a3b6f387f075879f3fedab73834ccb063">usrFilePath</a>(<span class="keyword">const</span> QString &amp;name) <span class="keyword">const</span>;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_cq_portal.html#aaf94e74886f8aced13198398940f2241">privateMessageEventFilter</a>(<span class="keyword">const</span> <a class="code" href="struct_message_event.html">MessageEvent</a> &amp;ev);</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_cq_portal.html#ab70f6d9b16e5d99d4fdecd0007d4bdc8">groupMessageEventFilter</a>(<span class="keyword">const</span> <a class="code" href="struct_message_event.html">MessageEvent</a> &amp;ev);</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_cq_portal.html#aa7b39c43520958477aa079b27f9ad567">discussMessageEventFilter</a>(<span class="keyword">const</span> <a class="code" href="struct_message_event.html">MessageEvent</a> &amp;ev);</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_cq_portal.html#a27ee8fb131dd1696ef82fd81d63ff4d0">masterChangeEventFilter</a>(<span class="keyword">const</span> <a class="code" href="struct_master_change_event.html">MasterChangeEvent</a> &amp;ev);</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_cq_portal.html#a365c82a2361505abf905d285c54950e1">friendRequestEventFilter</a>(<span class="keyword">const</span> <a class="code" href="struct_friend_request_event.html">FriendRequestEvent</a> &amp;ev);</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_cq_portal.html#a94a65b90442829c4ede8d059a5d0bd2e">groupRequestEventFilter</a>(<span class="keyword">const</span> <a class="code" href="struct_group_request_event.html">GroupRequestEvent</a> &amp;ev);</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_cq_portal.html#af2d8790f5793494d0f7050eeddfb7448">friendAddEventFilter</a>(<span class="keyword">const</span> <a class="code" href="struct_friend_add_event.html">FriendAddEvent</a> &amp;ev);</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_cq_portal.html#a91dc3767133ff5171bcdcc4502f5c8b1">memberJoinEventFilter</a>(<span class="keyword">const</span> <a class="code" href="struct_member_join_event.html">MemberJoinEvent</a> &amp;ev);</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_cq_portal.html#aafe2ce017934250d8d8c435dbebfc538">memberLeaveEventFilter</a>(<span class="keyword">const</span> <a class="code" href="struct_member_leave_event.html">MemberLeaveEvent</a> &amp;ev);</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">   55</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> {</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1aab6bae12fb9e8f9f23856668ea423bbb">   56</a></span>&#160;        <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1aab6bae12fb9e8f9f23856668ea423bbb">NoError</a> = 0,</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1a59751e79125e849ade908eac2918626f">   57</a></span>&#160;        <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1a59751e79125e849ade908eac2918626f">Unknown</a> = 1</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    };</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#abc3775d892a37c15650d1954274feab8">sendPrivateMessage</a>(qint64 uid, <span class="keyword">const</span> <span class="keywordtype">char</span> *gbkMsg) <span class="keyword">const</span>;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#a4fbe6d70044452d96f503915805dd7a8">sendGroupMessage</a>(qint64 gid, <span class="keyword">const</span> <span class="keywordtype">char</span> *gbkMsg) <span class="keyword">const</span>;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#a0dcc6b57c0c8de702a96f03e4f784460">sendDiscussMessage</a>(qint64 did, <span class="keyword">const</span> <span class="keywordtype">char</span> *gbkMsg) <span class="keyword">const</span>;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#abc3775d892a37c15650d1954274feab8">sendPrivateMessage</a>(qint64 uid, <span class="keyword">const</span> QString &amp;msg) <span class="keyword">const</span>;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#a4fbe6d70044452d96f503915805dd7a8">sendGroupMessage</a>(qint64 gid, <span class="keyword">const</span> QString &amp;msg) <span class="keyword">const</span>;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#a0dcc6b57c0c8de702a96f03e4f784460">sendDiscussMessage</a>(qint64 did, <span class="keyword">const</span> QString &amp;msg) <span class="keyword">const</span>;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#a080741db8b4157d1db62ef9953bde3d9">banGroupMember</a>(qint64 gid, qint64 uid, <span class="keywordtype">int</span> duration);</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#a3ee618693e22cf37f411e6457dbfa4ba">kickGroupMember</a>(qint64 gid, qint64 uid, <span class="keywordtype">bool</span> lasting);</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#aca2d7addd1b8d9de14005bad3c8be01b">adminGroupMember</a>(qint64 gid, qint64 uid, <span class="keywordtype">bool</span> enabled);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#a60e8477d07da25e0aeb31b876bcb5f3e">renameGroupMember</a>(qint64 gid, qint64 uid, <span class="keyword">const</span> <span class="keywordtype">char</span> *gbkNewNameCard);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#a60e8477d07da25e0aeb31b876bcb5f3e">renameGroupMember</a>(qint64 gid, qint64 uid, <span class="keyword">const</span> QString &amp;newNameCard);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#a5282c6a0ed59642123e06309d5efc835">acceptRequest</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *gbkTag);</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#ada2259ac61aca8438ba96e436129acbe">rejectRequest</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *gbkTag);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#a5282c6a0ed59642123e06309d5efc835">acceptRequest</a>(qint32 type, <span class="keyword">const</span> <span class="keywordtype">char</span> *gbkTag);</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#ada2259ac61aca8438ba96e436129acbe">rejectRequest</a>(qint32 type, <span class="keyword">const</span> <span class="keywordtype">char</span> *gbkTag);</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#a8d3a1c05e33ea73b9ed733b415d352fa">leaveGroup</a>(qint64 gid);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#a20d2b2ff0ae4fa184d52784c41188649">leaveDiscuss</a>(qint64 did);</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <a class="code" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> <a class="code" href="class_cq_portal.html#a11d8f57fb1301e2c7faef9254086294e">mute</a>(qint64 gid, <span class="keywordtype">bool</span> muted);</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <a class="code" href="class_cq_person_info.html">CqPersonInfo</a> <a class="code" href="class_cq_portal.html#ad2532e59a7a79e592631a865ef41dadb">personInfo</a>(qint64 uid, <span class="keywordtype">bool</span> cached = <span class="keyword">true</span>);</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <a class="code" href="class_cq_member_info.html">CqMemberInfo</a> <a class="code" href="class_cq_portal.html#ae1762e59931cba7606b5eb2d3cdb2d0e">memberInfo</a>(qint64 gid, qint64 uid, <span class="keywordtype">bool</span> cached = <span class="keyword">true</span>);</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    QString <a class="code" href="class_cq_portal.html#afb6dcf57b96313bfaa9b6ac7b5ced7d6">saveImage</a>(<span class="keyword">const</span> QPixmap &amp;data) <span class="keyword">const</span>;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    QPixmap <a class="code" href="class_cq_portal.html#a08af79d9ef0e5b97477e685befd71fe5">loadImage</a>(<span class="keyword">const</span> QString &amp;name) <span class="keyword">const</span>;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;};</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="preprocessor">#endif // CQPORTAL_H</span></div><div class="ttc" id="class_cq_portal_html_afb6dcf57b96313bfaa9b6ac7b5ced7d6"><div class="ttname"><a href="class_cq_portal.html#afb6dcf57b96313bfaa9b6ac7b5ced7d6">CqPortal::saveImage</a></div><div class="ttdeci">QString saveImage(const QPixmap &amp;data) const</div><div class="ttdoc">保存图片 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:533</div></div>
<div class="ttc" id="struct_member_leave_event_html"><div class="ttname"><a href="struct_member_leave_event.html">MemberLeaveEvent</a></div><div class="ttdoc">成员离开事件 </div><div class="ttdef"><b>Definition:</b> cqglobalevents.h:68</div></div>
<div class="ttc" id="class_cq_portal_html_a080741db8b4157d1db62ef9953bde3d9"><div class="ttname"><a href="class_cq_portal.html#a080741db8b4157d1db62ef9953bde3d9">CqPortal::banGroupMember</a></div><div class="ttdeci">Result banGroupMember(qint64 gid, qint64 uid, int duration)</div><div class="ttdoc">禁言群组成员 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:367</div></div>
<div class="ttc" id="class_cq_portal_html_ada2259ac61aca8438ba96e436129acbe"><div class="ttname"><a href="class_cq_portal.html#ada2259ac61aca8438ba96e436129acbe">CqPortal::rejectRequest</a></div><div class="ttdeci">Result rejectRequest(const char *gbkTag)</div><div class="ttdoc">拒绝好友添加请求 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:434</div></div>
<div class="ttc" id="class_cq_portal_html_a27ee8fb131dd1696ef82fd81d63ff4d0"><div class="ttname"><a href="class_cq_portal.html#a27ee8fb131dd1696ef82fd81d63ff4d0">CqPortal::masterChangeEventFilter</a></div><div class="ttdeci">virtual bool masterChangeEventFilter(const MasterChangeEvent &amp;ev)</div><div class="ttdoc">处理管理变更事件的过滤器 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:226</div></div>
<div class="ttc" id="class_cq_portal_html_a38b12865e54051ddc202a2ffa68716b1aab6bae12fb9e8f9f23856668ea423bbb"><div class="ttname"><a href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1aab6bae12fb9e8f9f23856668ea423bbb">CqPortal::NoError</a></div><div class="ttdoc">没有错误（成功） </div><div class="ttdef"><b>Definition:</b> cqportal.h:56</div></div>
<div class="ttc" id="class_cq_person_info_html"><div class="ttname"><a href="class_cq_person_info.html">CqPersonInfo</a></div><div class="ttdoc">个人信息 </div><div class="ttdef"><b>Definition:</b> cqpersoninfo.h:8</div></div>
<div class="ttc" id="class_cq_portal_html_a4f07d569e9f19663083cac15fef12247"><div class="ttname"><a href="class_cq_portal.html#a4f07d569e9f19663083cac15fef12247">CqPortal::cqAt</a></div><div class="ttdeci">static QString cqAt(qint64 uid)</div><div class="ttdoc">返回酷Q中@他人的字符串 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:112</div></div>
<div class="ttc" id="class_cq_portal_html_a8d3a1c05e33ea73b9ed733b415d352fa"><div class="ttname"><a href="class_cq_portal.html#a8d3a1c05e33ea73b9ed733b415d352fa">CqPortal::leaveGroup</a></div><div class="ttdeci">Result leaveGroup(qint64 gid)</div><div class="ttdoc">退出群组 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:479</div></div>
<div class="ttc" id="class_cq_portal_html_a13dbcae38c238ba5ddf441b5fa01248b"><div class="ttname"><a href="class_cq_portal.html#a13dbcae38c238ba5ddf441b5fa01248b">CqPortal::cqImage</a></div><div class="ttdeci">static QString cqImage(const QString &amp;name)</div><div class="ttdoc">返回酷Q中发送图片的字符串 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:123</div></div>
<div class="ttc" id="class_cq_portal_html_a38b12865e54051ddc202a2ffa68716b1a59751e79125e849ade908eac2918626f"><div class="ttname"><a href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1a59751e79125e849ade908eac2918626f">CqPortal::Unknown</a></div><div class="ttdoc">未知错误 </div><div class="ttdef"><b>Definition:</b> cqportal.h:57</div></div>
<div class="ttc" id="class_cq_portal_html_a9a4b3fc66c1068413a0110ce45a4e3d8"><div class="ttname"><a href="class_cq_portal.html#a9a4b3fc66c1068413a0110ce45a4e3d8">CqPortal::convert</a></div><div class="ttdeci">static QByteArray convert(const QString &amp;str)</div><div class="ttdoc">字符串编码转换函数 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:82</div></div>
<div class="ttc" id="class_cq_portal_html_a20d2b2ff0ae4fa184d52784c41188649"><div class="ttname"><a href="class_cq_portal.html#a20d2b2ff0ae4fa184d52784c41188649">CqPortal::leaveDiscuss</a></div><div class="ttdeci">Result leaveDiscuss(qint64 did)</div><div class="ttdoc">退出会话 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:490</div></div>
<div class="ttc" id="class_cq_portal_html_aaf94e74886f8aced13198398940f2241"><div class="ttname"><a href="class_cq_portal.html#aaf94e74886f8aced13198398940f2241">CqPortal::privateMessageEventFilter</a></div><div class="ttdeci">virtual bool privateMessageEventFilter(const MessageEvent &amp;ev)</div><div class="ttdoc">处理个人消息事件的过滤器 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:190</div></div>
<div class="ttc" id="class_cq_portal_html_ab70f6d9b16e5d99d4fdecd0007d4bdc8"><div class="ttname"><a href="class_cq_portal.html#ab70f6d9b16e5d99d4fdecd0007d4bdc8">CqPortal::groupMessageEventFilter</a></div><div class="ttdeci">virtual bool groupMessageEventFilter(const MessageEvent &amp;ev)</div><div class="ttdoc">处理群组消息事件的过滤器 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:202</div></div>
<div class="ttc" id="class_cq_portal_html_a3889da86ea9b0d629ac12ba942de8d17"><div class="ttname"><a href="class_cq_portal.html#a3889da86ea9b0d629ac12ba942de8d17">CqPortal::basePath</a></div><div class="ttdeci">QString basePath() const</div><div class="ttdoc">返回插件路径 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:139</div></div>
<div class="ttc" id="class_cq_member_info_html"><div class="ttname"><a href="class_cq_member_info.html">CqMemberInfo</a></div><div class="ttdoc">成员信息 </div><div class="ttdef"><b>Definition:</b> cqmemberinfo.h:8</div></div>
<div class="ttc" id="class_cq_portal_html_aad4a97e3bd1b3c0b336b02615bfe16d0"><div class="ttname"><a href="class_cq_portal.html#aad4a97e3bd1b3c0b336b02615bfe16d0">CqPortal::currentId</a></div><div class="ttdeci">qint64 currentId() const</div><div class="ttdoc">返回当前号码 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:131</div></div>
<div class="ttc" id="class_cq_portal_html_aafe2ce017934250d8d8c435dbebfc538"><div class="ttname"><a href="class_cq_portal.html#aafe2ce017934250d8d8c435dbebfc538">CqPortal::memberLeaveEventFilter</a></div><div class="ttdeci">virtual bool memberLeaveEventFilter(const MemberLeaveEvent &amp;ev)</div><div class="ttdoc">处理成员离开事件的过滤器 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:286</div></div>
<div class="ttc" id="class_cq_portal_html_af511438e74f95a97011f3bb3c91fbaa3"><div class="ttname"><a href="class_cq_portal.html#af511438e74f95a97011f3bb3c91fbaa3">CqPortal::appFilePath</a></div><div class="ttdeci">QString appFilePath(const char *srcName) const</div><div class="ttdoc">返回插件目录内的文件 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:149</div></div>
<div class="ttc" id="class_cq_portal_html_ae1762e59931cba7606b5eb2d3cdb2d0e"><div class="ttname"><a href="class_cq_portal.html#ae1762e59931cba7606b5eb2d3cdb2d0e">CqPortal::memberInfo</a></div><div class="ttdeci">CqMemberInfo memberInfo(qint64 gid, qint64 uid, bool cached=true)</div><div class="ttdoc">返回成员信息 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:523</div></div>
<div class="ttc" id="class_cq_portal_html_a38b12865e54051ddc202a2ffa68716b1"><div class="ttname"><a href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a></div><div class="ttdeci">Result</div><div class="ttdoc">CqPortal 执行结果 </div><div class="ttdef"><b>Definition:</b> cqportal.h:55</div></div>
<div class="ttc" id="class_cq_portal_html_a365c82a2361505abf905d285c54950e1"><div class="ttname"><a href="class_cq_portal.html#a365c82a2361505abf905d285c54950e1">CqPortal::friendRequestEventFilter</a></div><div class="ttdeci">virtual bool friendRequestEventFilter(const FriendRequestEvent &amp;ev)</div><div class="ttdoc">处理好友请求事件的过滤器 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:238</div></div>
<div class="ttc" id="class_cq_portal_html_a3b6f387f075879f3fedab73834ccb063"><div class="ttname"><a href="class_cq_portal.html#a3b6f387f075879f3fedab73834ccb063">CqPortal::usrFilePath</a></div><div class="ttdeci">QString usrFilePath(const char *srcName) const</div><div class="ttdoc">返回插件目录内的文件 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:169</div></div>
<div class="ttc" id="class_cq_portal_html_a3ee618693e22cf37f411e6457dbfa4ba"><div class="ttname"><a href="class_cq_portal.html#a3ee618693e22cf37f411e6457dbfa4ba">CqPortal::kickGroupMember</a></div><div class="ttdeci">Result kickGroupMember(qint64 gid, qint64 uid, bool lasting)</div><div class="ttdoc">踢出群组成员 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:378</div></div>
<div class="ttc" id="struct_friend_request_event_html"><div class="ttname"><a href="struct_friend_request_event.html">FriendRequestEvent</a></div><div class="ttdoc">好友请求事件 </div><div class="ttdef"><b>Definition:</b> cqglobalevents.h:30</div></div>
<div class="ttc" id="class_cq_portal_html_a11d8f57fb1301e2c7faef9254086294e"><div class="ttname"><a href="class_cq_portal.html#a11d8f57fb1301e2c7faef9254086294e">CqPortal::mute</a></div><div class="ttdeci">Result mute(qint64 gid, bool muted)</div><div class="ttdoc">全员禁言 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:501</div></div>
<div class="ttc" id="class_cq_portal_html_a0dcc6b57c0c8de702a96f03e4f784460"><div class="ttname"><a href="class_cq_portal.html#a0dcc6b57c0c8de702a96f03e4f784460">CqPortal::sendDiscussMessage</a></div><div class="ttdeci">Result sendDiscussMessage(qint64 did, const char *gbkMsg) const</div><div class="ttdoc">发送会话消息 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:323</div></div>
<div class="ttc" id="struct_friend_add_event_html"><div class="ttname"><a href="struct_friend_add_event.html">FriendAddEvent</a></div><div class="ttdoc">好友添加事件 </div><div class="ttdef"><b>Definition:</b> cqglobalevents.h:51</div></div>
<div class="ttc" id="class_cq_portal_html"><div class="ttname"><a href="class_cq_portal.html">CqPortal</a></div><div class="ttdoc">插件入口类 </div><div class="ttdef"><b>Definition:</b> cqportal.h:9</div></div>
<div class="ttc" id="class_cq_portal_html_aa7b39c43520958477aa079b27f9ad567"><div class="ttname"><a href="class_cq_portal.html#aa7b39c43520958477aa079b27f9ad567">CqPortal::discussMessageEventFilter</a></div><div class="ttdeci">virtual bool discussMessageEventFilter(const MessageEvent &amp;ev)</div><div class="ttdoc">处理会话消息事件的过滤器 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:214</div></div>
<div class="ttc" id="struct_member_join_event_html"><div class="ttname"><a href="struct_member_join_event.html">MemberJoinEvent</a></div><div class="ttdoc">成员加入事件 </div><div class="ttdef"><b>Definition:</b> cqglobalevents.h:58</div></div>
<div class="ttc" id="class_cq_portal_html_af2d8790f5793494d0f7050eeddfb7448"><div class="ttname"><a href="class_cq_portal.html#af2d8790f5793494d0f7050eeddfb7448">CqPortal::friendAddEventFilter</a></div><div class="ttdeci">virtual bool friendAddEventFilter(const FriendAddEvent &amp;ev)</div><div class="ttdoc">处理好友添加事件的过滤器 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:262</div></div>
<div class="ttc" id="class_cq_portal_html_a94a65b90442829c4ede8d059a5d0bd2e"><div class="ttname"><a href="class_cq_portal.html#a94a65b90442829c4ede8d059a5d0bd2e">CqPortal::groupRequestEventFilter</a></div><div class="ttdeci">virtual bool groupRequestEventFilter(const GroupRequestEvent &amp;ev)</div><div class="ttdoc">处理群组请求事件的过滤器 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:250</div></div>
<div class="ttc" id="class_cq_portal_html_a5282c6a0ed59642123e06309d5efc835"><div class="ttname"><a href="class_cq_portal.html#a5282c6a0ed59642123e06309d5efc835">CqPortal::acceptRequest</a></div><div class="ttdeci">Result acceptRequest(const char *gbkTag)</div><div class="ttdoc">接受好友添加请求 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:423</div></div>
<div class="ttc" id="struct_message_event_html"><div class="ttname"><a href="struct_message_event.html">MessageEvent</a></div><div class="ttdoc">通用消息事件 </div><div class="ttdef"><b>Definition:</b> cqglobalevents.h:10</div></div>
<div class="ttc" id="class_cq_portal_html_a08af79d9ef0e5b97477e685befd71fe5"><div class="ttname"><a href="class_cq_portal.html#a08af79d9ef0e5b97477e685befd71fe5">CqPortal::loadImage</a></div><div class="ttdeci">QPixmap loadImage(const QString &amp;name) const</div><div class="ttdoc">载入图片 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:551</div></div>
<div class="ttc" id="class_cq_portal_html_ad2532e59a7a79e592631a865ef41dadb"><div class="ttname"><a href="class_cq_portal.html#ad2532e59a7a79e592631a865ef41dadb">CqPortal::personInfo</a></div><div class="ttdeci">CqPersonInfo personInfo(qint64 uid, bool cached=true)</div><div class="ttdoc">返回个人信息 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:512</div></div>
<div class="ttc" id="class_cq_portal_html_a010488d0d8a46af43cd98150df5764da"><div class="ttname"><a href="class_cq_portal.html#a010488d0d8a46af43cd98150df5764da">CqPortal::~CqPortal</a></div><div class="ttdeci">virtual ~CqPortal()</div><div class="ttdoc">析构函数 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:71</div></div>
<div class="ttc" id="class_cq_portal_html_a91dc3767133ff5171bcdcc4502f5c8b1"><div class="ttname"><a href="class_cq_portal.html#a91dc3767133ff5171bcdcc4502f5c8b1">CqPortal::memberJoinEventFilter</a></div><div class="ttdeci">virtual bool memberJoinEventFilter(const MemberJoinEvent &amp;ev)</div><div class="ttdoc">处理成员加入事件的过滤器 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:274</div></div>
<div class="ttc" id="class_cq_portal_html_aca2d7addd1b8d9de14005bad3c8be01b"><div class="ttname"><a href="class_cq_portal.html#aca2d7addd1b8d9de14005bad3c8be01b">CqPortal::adminGroupMember</a></div><div class="ttdeci">Result adminGroupMember(qint64 gid, qint64 uid, bool enabled)</div><div class="ttdoc">设置群组管理 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:389</div></div>
<div class="ttc" id="class_cq_portal_html_a60e8477d07da25e0aeb31b876bcb5f3e"><div class="ttname"><a href="class_cq_portal.html#a60e8477d07da25e0aeb31b876bcb5f3e">CqPortal::renameGroupMember</a></div><div class="ttdeci">Result renameGroupMember(qint64 gid, qint64 uid, const char *gbkNewNameCard)</div><div class="ttdoc">修改成员名片 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:401</div></div>
<div class="ttc" id="struct_master_change_event_html"><div class="ttname"><a href="struct_master_change_event.html">MasterChangeEvent</a></div><div class="ttdoc">管理变更事件 </div><div class="ttdef"><b>Definition:</b> cqglobalevents.h:21</div></div>
<div class="ttc" id="class_cq_portal_html_abc3775d892a37c15650d1954274feab8"><div class="ttname"><a href="class_cq_portal.html#abc3775d892a37c15650d1954274feab8">CqPortal::sendPrivateMessage</a></div><div class="ttdeci">Result sendPrivateMessage(qint64 uid, const char *gbkMsg) const</div><div class="ttdoc">发送个人消息 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:299</div></div>
<div class="ttc" id="struct_group_request_event_html"><div class="ttname"><a href="struct_group_request_event.html">GroupRequestEvent</a></div><div class="ttdoc">群组请求事件 </div><div class="ttdef"><b>Definition:</b> cqglobalevents.h:40</div></div>
<div class="ttc" id="class_cq_portal_html_ad9471ef2d28f8b9f2535b8876b767c99"><div class="ttname"><a href="class_cq_portal.html#ad9471ef2d28f8b9f2535b8876b767c99">CqPortal::CqPortal</a></div><div class="ttdeci">CqPortal(CqPortalPrivate &amp;dd, QObject *parent=Q_NULLPTR)</div><div class="ttdoc">构造函数 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:45</div></div>
<div class="ttc" id="class_cq_portal_html_a4fbe6d70044452d96f503915805dd7a8"><div class="ttname"><a href="class_cq_portal.html#a4fbe6d70044452d96f503915805dd7a8">CqPortal::sendGroupMessage</a></div><div class="ttdeci">Result sendGroupMessage(qint64 gid, const char *gbkMsg) const</div><div class="ttdoc">发送群组消息 </div><div class="ttdef"><b>Definition:</b> cqportal.cpp:311</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
